﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000ACB RID: 2763
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MarkItemScRsp : IMessage<MarkItemScRsp>, IMessage, IEquatable<MarkItemScRsp>, IDeepCloneable<MarkItemScRsp>, IBufferMessage
	{
		// Token: 0x170022DC RID: 8924
		// (get) Token: 0x06007B9C RID: 31644 RVA: 0x0014A098 File Offset: 0x00148298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MarkItemScRsp> Parser
		{
			get
			{
				return MarkItemScRsp._parser;
			}
		}

		// Token: 0x170022DD RID: 8925
		// (get) Token: 0x06007B9D RID: 31645 RVA: 0x0014A09F File Offset: 0x0014829F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MarkItemScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170022DE RID: 8926
		// (get) Token: 0x06007B9E RID: 31646 RVA: 0x0014A0B1 File Offset: 0x001482B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MarkItemScRsp.Descriptor;
			}
		}

		// Token: 0x06007B9F RID: 31647 RVA: 0x0014A0B8 File Offset: 0x001482B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkItemScRsp()
		{
		}

		// Token: 0x06007BA0 RID: 31648 RVA: 0x0014A0C0 File Offset: 0x001482C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkItemScRsp(MarkItemScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.itemId_ = other.itemId_;
			this.pLGKLGBMBGH_ = other.pLGKLGBMBGH_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007BA1 RID: 31649 RVA: 0x0014A0FD File Offset: 0x001482FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkItemScRsp Clone()
		{
			return new MarkItemScRsp(this);
		}

		// Token: 0x170022DF RID: 8927
		// (get) Token: 0x06007BA2 RID: 31650 RVA: 0x0014A105 File Offset: 0x00148305
		// (set) Token: 0x06007BA3 RID: 31651 RVA: 0x0014A10D File Offset: 0x0014830D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170022E0 RID: 8928
		// (get) Token: 0x06007BA4 RID: 31652 RVA: 0x0014A116 File Offset: 0x00148316
		// (set) Token: 0x06007BA5 RID: 31653 RVA: 0x0014A11E File Offset: 0x0014831E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemId
		{
			get
			{
				return this.itemId_;
			}
			set
			{
				this.itemId_ = value;
			}
		}

		// Token: 0x170022E1 RID: 8929
		// (get) Token: 0x06007BA6 RID: 31654 RVA: 0x0014A127 File Offset: 0x00148327
		// (set) Token: 0x06007BA7 RID: 31655 RVA: 0x0014A12F File Offset: 0x0014832F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool PLGKLGBMBGH
		{
			get
			{
				return this.pLGKLGBMBGH_;
			}
			set
			{
				this.pLGKLGBMBGH_ = value;
			}
		}

		// Token: 0x06007BA8 RID: 31656 RVA: 0x0014A138 File Offset: 0x00148338
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MarkItemScRsp);
		}

		// Token: 0x06007BA9 RID: 31657 RVA: 0x0014A148 File Offset: 0x00148348
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MarkItemScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.ItemId == other.ItemId && this.PLGKLGBMBGH == other.PLGKLGBMBGH && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007BAA RID: 31658 RVA: 0x0014A1A4 File Offset: 0x001483A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.ItemId != 0U)
			{
				num ^= this.ItemId.GetHashCode();
			}
			if (this.PLGKLGBMBGH)
			{
				num ^= this.PLGKLGBMBGH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007BAB RID: 31659 RVA: 0x0014A215 File Offset: 0x00148415
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007BAC RID: 31660 RVA: 0x0014A21D File Offset: 0x0014841D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007BAD RID: 31661 RVA: 0x0014A228 File Offset: 0x00148428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ItemId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.ItemId);
			}
			if (this.PLGKLGBMBGH)
			{
				output.WriteRawTag(80);
				output.WriteBool(this.PLGKLGBMBGH);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007BAE RID: 31662 RVA: 0x0014A2A0 File Offset: 0x001484A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.ItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemId);
			}
			if (this.PLGKLGBMBGH)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007BAF RID: 31663 RVA: 0x0014A304 File Offset: 0x00148504
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MarkItemScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.ItemId != 0U)
			{
				this.ItemId = other.ItemId;
			}
			if (other.PLGKLGBMBGH)
			{
				this.PLGKLGBMBGH = other.PLGKLGBMBGH;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007BB0 RID: 31664 RVA: 0x0014A368 File Offset: 0x00148568
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007BB1 RID: 31665 RVA: 0x0014A374 File Offset: 0x00148574
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 80U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.PLGKLGBMBGH = input.ReadBool();
					}
				}
				else
				{
					this.ItemId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002F39 RID: 12089
		private static readonly MessageParser<MarkItemScRsp> _parser = new MessageParser<MarkItemScRsp>(() => new MarkItemScRsp());

		// Token: 0x04002F3A RID: 12090
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F3B RID: 12091
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04002F3C RID: 12092
		private uint retcode_;

		// Token: 0x04002F3D RID: 12093
		public const int ItemIdFieldNumber = 9;

		// Token: 0x04002F3E RID: 12094
		private uint itemId_;

		// Token: 0x04002F3F RID: 12095
		public const int PLGKLGBMBGHFieldNumber = 10;

		// Token: 0x04002F40 RID: 12096
		private bool pLGKLGBMBGH_;
	}
}
